import { createApp } from 'vue';
import App from './App.vue';
import router from './router'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css';
import './demos/ipc'
import './style.css'
import './customstyle.css'
import './dark-theme.css'
import './light-theme.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

createApp(App)
  .use(ElementPlus)
  .use(router)
  .mount('#app');

// 如果你需要在下一个 DOM 更新周期后执行某些操作，可以使用 nextTick
import { nextTick } from 'vue';


nextTick(() => {
  postMessage({ payload: 'removeLoading' }, '*');
});